package com.qnkf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer
@EnableDiscoveryClient
public class ApolloServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApolloServiceApplication.class, args);
        System.out.println("apollo配置中心启动成功！");
    }

}
